/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.weasing.res.service.impl;

import com.weasing.res.dao.IWxChecklistDao;
import com.weasing.res.domain.WxChecklist;
import com.weasing.res.service.IWxChecklistService;
import com.weasing.res.service.base.impl.BaseServiceImpl;
import com.weasing.res.utils.PageBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class WxChecklistServiceImpl extends BaseServiceImpl<WxChecklist> implements IWxChecklistService {
    @Autowired
    private IWxChecklistDao wxChecklistDao;
    @Override
    public PageBean findWxChecklistByCondition(int toadminid, int status,PageBean pageBean) {
		wxChecklistDao.findWxChecklistByCondition(toadminid, status,pageBean);
		return pageBean;
    }

    @Override
    public void upStatusByID(int id,int status){
        wxChecklistDao.upStatusByID(id,status);
    }
}
